package co.yixiang.yshop.module.product.controller.admin.storeproductstockwarning.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;

/**
 * 商品库存预警 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class StoreProductStockWarningBaseVO {

    @Schema(description = "商品", required = true, example = "20546")
    private Long goodsId;

    @Schema(description = "规格", required = true, example = "21621")
    private Long goodsSkuId;

    @Schema(description = "规格名")
    private String goodsSkuText;

    @Schema(description = "库存值", required = true)
    private Integer stock;

    @Schema(description = "预警值", required = true)
    private Integer stockWarning;

}
